[INFO] fetching crate modi 0.1.1...
[INFO] fixing modi-0.1.1 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] extracting crate modi 0.1.1 into /workspace/builds/worker-7-tc2/source
[INFO] started tweaking crates.io crate modi 0.1.1
[INFO] removed 0 missing examples
[INFO] finished tweaking crates.io crate modi 0.1.1
[INFO] tweaked toml for crates.io crate modi 0.1.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate modi 0.1.1 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate modi 0.1.1 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 97c56a448dc6c74802f219f9efb553a29f525e3422be9d00ae80eddf4969bb28
[INFO] running `Command { std: "docker" "start" "97c56a448dc6c74802f219f9efb553a29f525e3422be9d00ae80eddf4969bb28", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "97c56a448dc6c74802f219f9efb553a29f525e3422be9d00ae80eddf4969bb28" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "97c56a448dc6c74802f219f9efb553a29f525e3422be9d00ae80eddf4969bb28", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "97c56a448dc6c74802f219f9efb553a29f525e3422be9d00ae80eddf4969bb28" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling unicode-ident v1.0.13
[INFO] [stderr]    Compiling libc v0.2.158
[INFO] [stderr]     Checking pin-project-lite v0.2.14
[INFO] [stderr]     Checking bytes v1.7.2
[INFO] [stderr]     Checking futures-core v0.3.30
[INFO] [stderr]     Checking once_cell v1.19.0
[INFO] [stderr]    Compiling serde v1.0.210
[INFO] [stderr]     Checking futures-sink v0.3.30
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]     Checking futures-task v0.3.30
[INFO] [stderr]     Checking futures-io v0.3.30
[INFO] [stderr]     Checking percent-encoding v2.3.1
[INFO] [stderr]    Compiling thiserror v1.0.64
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]     Checking cpufeatures v0.2.14
[INFO] [stderr]    Compiling httparse v1.9.4
[INFO] [stderr]     Checking equivalent v1.0.1
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling serde_json v1.0.128
[INFO] [stderr]     Checking futures-channel v0.3.30
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling unicase v2.7.0
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]     Checking http v1.1.0
[INFO] [stderr]    Compiling pkg-config v0.3.31
[INFO] [stderr]     Checking log v0.4.22
[INFO] [stderr]    Compiling syn v2.0.77
[INFO] [stderr]    Compiling toml_datetime v0.6.8
[INFO] [stderr]    Compiling indexmap v2.5.0
[INFO] [stderr]     Checking sync_wrapper v1.0.1
[INFO] [stderr]    Compiling rustversion v1.0.17
[INFO] [stderr]    Compiling winnow v0.6.18
[INFO] [stderr]     Checking regex-syntax v0.8.4
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling anyhow v1.0.89
[INFO] [stderr]     Checking tinyvec v1.8.0
[INFO] [stderr]    Compiling jobserver v0.1.32
[INFO] [stderr]    Compiling rustix v0.38.37
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]    Compiling cc v1.1.21
[INFO] [stderr]     Checking inout v0.1.3
[INFO] [stderr]    Compiling time-core v0.1.2
[INFO] [stderr]    Compiling num-conv v0.1.0
[INFO] [stderr]     Checking alloc-no-stdlib v2.0.4
[INFO] [stderr]     Checking bitflags v2.6.0
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]    Compiling zstd-safe v7.2.1
[INFO] [stderr]     Checking alloc-stdlib v0.2.2
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking mio v0.8.11
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking socket2 v0.5.7
[INFO] [stderr]    Compiling time-macros v0.2.18
[INFO] [stderr]     Checking deranged v0.3.11
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]    Compiling nix v0.29.0
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking universal-hash v0.5.1
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]    Compiling toml_edit v0.22.21
[INFO] [stderr]     Checking polyval v0.6.2
[INFO] [stderr]    Compiling regex-automata v0.4.7
[INFO] [stderr]     Checking unicode-normalization v0.1.24
[INFO] [stderr]     Checking aead v0.5.2
[INFO] [stderr]     Checking aes v0.8.4
[INFO] [stderr]     Checking ctr v0.9.2
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking ghash v0.5.1
[INFO] [stderr]    Compiling mime-infer v3.0.0
[INFO] [stderr]     Checking form_urlencoded v1.2.1
[INFO] [stderr]    Compiling multer v3.1.0
[INFO] [stderr]    Compiling cookie v0.18.1
[INFO] [stderr]     Checking linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]     Checking sync_wrapper v0.1.2
[INFO] [stderr]     Checking unicode-bidi v0.3.15
[INFO] [stderr]     Checking regex-syntax v0.6.29
[INFO] [stderr]     Checking adler2 v2.0.0
[INFO] [stderr]     Checking glob v0.3.1
[INFO] [stderr]     Checking miniz_oxide v0.8.0
[INFO] [stderr]    Compiling walkdir v2.5.0
[INFO] [stderr]     Checking aes-gcm v0.10.3
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking brotli-decompressor v4.0.1
[INFO] [stderr]     Checking headers-core v0.3.0
[INFO] [stderr]     Checking crc32fast v1.4.2
[INFO] [stderr]    Compiling proc-macro2-diagnostics v0.10.1
[INFO] [stderr]     Checking time v0.3.36
[INFO] [stderr]     Checking encoding_rs v0.8.34
[INFO] [stderr]     Checking iana-time-zone v0.1.61
[INFO] [stderr]     Checking overload v0.1.1
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]     Checking matchit v0.7.3
[INFO] [stderr]     Checking xml-rs v0.8.22
[INFO] [stderr]     Checking fastrand v2.1.1
[INFO] [stderr]    Compiling proc-macro-crate v3.2.0
[INFO] [stderr]     Checking headers v0.4.0
[INFO] [stderr]    Compiling zstd-sys v2.0.13+zstd.1.5.6
[INFO] [stderr]     Checking url v2.5.2
[INFO] [stderr]     Checking chrono v0.4.38
[INFO] [stderr]     Checking brotli v6.0.0
[INFO] [stderr]     Checking nu-ansi-term v0.46.0
[INFO] [stderr]    Compiling salvo-serde-util v0.72.3
[INFO] [stderr]     Checking regex-automata v0.1.10
[INFO] [stderr]     Checking flate2 v1.0.33
[INFO] [stderr]    Compiling rust-embed-utils v8.5.0
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking thread_local v1.1.8
[INFO] [stderr]    Compiling rust_decimal v1.36.0
[INFO] [stderr]    Compiling yansi v1.0.1
[INFO] [stderr]    Compiling proc-macro-error-attr2 v2.0.0
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]     Checking unsafe-libyaml v0.2.11
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking opentelemetry-semantic-conventions v0.25.0
[INFO] [stderr]     Checking matchers v0.1.0
[INFO] [stderr]     Checking ordered-float v4.2.2
[INFO] [stderr]     Checking uuid v1.10.0
[INFO] [stderr]     Checking simdutf8 v0.1.5
[INFO] [stderr]    Compiling semver v1.0.23
[INFO] [stderr]     Checking inventory v0.3.15
[INFO] [stderr]    Compiling proc-macro-error2 v2.0.1
[INFO] [stderr]     Checking anymap2 v0.13.0
[INFO] [stderr]     Checking faststr v0.2.23
[INFO] [stderr]     Checking regex v1.10.6
[INFO] [stderr]     Checking tempfile v3.12.0
[INFO] [stderr]    Compiling serde_derive v1.0.210
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling tokio-macros v2.3.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]     Checking tokio v1.38.1
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]    Compiling thiserror-impl v1.0.64
[INFO] [stderr]    Compiling async-trait v0.1.82
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]    Compiling pin-project-internal v1.1.5
[INFO] [stderr]    Compiling enumflags2_derive v0.7.10
[INFO] [stderr]    Compiling async-stream-impl v0.3.5
[INFO] [stderr]    Compiling prost-derive v0.13.3
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]     Checking async-stream v0.3.5
[INFO] [stderr]    Compiling salvo_macros v0.72.3
[INFO] [stderr]    Compiling rust-embed-impl v8.5.0
[INFO] [stderr]     Checking opentelemetry v0.25.0
[INFO] [stderr]    Compiling salvo-oapi-macros v0.72.3
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking pin-project v1.1.5
[INFO] [stderr]    Compiling salvo-craft-macros v0.72.3
[INFO] [stderr]     Checking enumflags2 v0.7.10
[INFO] [stderr]     Checking tracing-subscriber v0.3.18
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking rust-embed v8.5.0
[INFO] [stderr]     Checking opentelemetry-http v0.25.0
[INFO] [stderr]    Compiling strum_macros v0.26.4
[INFO] [stderr]     Checking salvo-craft v0.72.3
[INFO] [stderr]    Compiling getset2 v0.2.1
[INFO] [stderr]     Checking ulid v1.1.3
[INFO] [stderr]     Checking rustc-hash v2.0.0
[INFO] [stderr]     Checking prost v0.13.3
[INFO] [stderr]     Checking sulid v0.6.2
[INFO] [stderr]     Checking opentelemetry-appender-tracing v0.25.0
[INFO] [stderr]     Checking strum v0.26.3
[INFO] [stderr]     Checking zstd v0.13.2
[INFO] [stderr]    Compiling modi_macros v0.1.1
[INFO] [stderr]     Checking http-body-util v0.1.2
[INFO] [stderr]     Checking futures-executor v0.3.30
[INFO] [stderr]     Checking tower v0.5.1
[INFO] [stderr]     Checking axum-core v0.4.4
[INFO] [stderr]     Checking tokio-util v0.7.12
[INFO] [stderr]     Checking tokio-stream v0.1.16
[INFO] [stderr]     Checking metainfo v0.7.12
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking multimap v0.10.0
[INFO] [stderr]     Checking serde-xml-rs v0.6.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking axum v0.7.6
[INFO] [stderr]     Checking quick-xml v0.36.2
[INFO] [stderr]     Checking opentelemetry_sdk v0.25.0
[INFO] [stderr]     Checking h2 v0.4.6
[INFO] [stderr]     Checking serde_yaml v0.9.34+deprecated
[INFO] [stderr]     Checking opentelemetry-stdout v0.25.0
[INFO] [stderr]     Checking tracing-opentelemetry v0.26.0
[INFO] [stderr]     Checking hyper v1.4.1
[INFO] [stderr]     Checking hyper-util v0.1.8
[INFO] [stderr]     Checking hyper-timeout v0.5.1
[INFO] [stderr]     Checking salvo_core v0.72.3
[INFO] [stderr]     Checking tonic v0.12.2
[INFO] [stderr]     Checking opentelemetry-proto v0.25.0
[INFO] [stderr]     Checking salvo-oapi v0.72.3
[INFO] [stderr]     Checking salvo-otel v0.72.3
[INFO] [stderr]     Checking opentelemetry-otlp v0.25.0
[INFO] [stderr]     Checking myotel v0.2.3
[INFO] [stderr]     Checking salvo v0.72.3
[INFO] [stderr]     Checking modi v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/dyn_mod/module/module_build_context.rs:137:21
[INFO] [stdout]     |
[INFO] [stdout] 132 |         let mut f = fs::File::create(
[INFO] [stdout]     |             -----
[INFO] [stdout]     |             |
[INFO] [stdout]     |             `f` calls a custom destructor
[INFO] [stdout]     |             `f` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 137 |         f.write_all(comp.as_ref().full_manifest().to_string_pretty().as_bytes())
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |                     up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] 138 |     }
[INFO] [stdout]     |     - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/semver-1.0.23/src/identifier.rs:240:1
[INFO] [stdout]     |
[INFO] [stdout] 240 | impl Drop for Identifier {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `f` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/os/fd/owned.rs:196:0
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]     = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/mw/trace.rs:87:10
[INFO] [stdout]     |
[INFO] [stdout]  33 |         let mut headers = HeaderMap::with_capacity(req.headers().len());
[INFO] [stdout]     |             -----------
[INFO] [stdout]     |             |
[INFO] [stdout]     |             `headers` calls a custom destructor
[INFO] [stdout]     |             `headers` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout]  40 |         let parent_cx =
[INFO] [stdout]     |             ---------
[INFO] [stdout]     |             |
[INFO] [stdout]     |             `parent_cx` calls a custom destructor
[INFO] [stdout]     |             `parent_cx` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout]  87 |         .await
[INFO] [stdout]     |          ^^^^^
[INFO] [stdout]     |          |
[INFO] [stdout]     |          this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |          up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]  88 |     }
[INFO] [stdout]     |     - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#1` may invoke a custom destructor because it contains a trait object
[INFO] [stdout] note: `headers` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.7.2/src/bytes.rs:571:1
[INFO] [stdout]     |
[INFO] [stdout] 571 | impl Drop for Bytes {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `parent_cx` may invoke a custom destructor because it contains a trait object
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/dyn_mod/module/module_build_context.rs:137:21
[INFO] [stdout]     |
[INFO] [stdout] 132 |         let mut f = fs::File::create(
[INFO] [stdout]     |             -----
[INFO] [stdout]     |             |
[INFO] [stdout]     |             `f` calls a custom destructor
[INFO] [stdout]     |             `f` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 137 |         f.write_all(comp.as_ref().full_manifest().to_string_pretty().as_bytes())
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |                     up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] 138 |     }
[INFO] [stdout]     |     - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/semver-1.0.23/src/identifier.rs:240:1
[INFO] [stdout]     |
[INFO] [stdout] 240 | impl Drop for Identifier {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `f` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/os/fd/owned.rs:196:0
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]     = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/mw/trace.rs:87:10
[INFO] [stdout]     |
[INFO] [stdout]  33 |         let mut headers = HeaderMap::with_capacity(req.headers().len());
[INFO] [stdout]     |             -----------
[INFO] [stdout]     |             |
[INFO] [stdout]     |             `headers` calls a custom destructor
[INFO] [stdout]     |             `headers` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout]  40 |         let parent_cx =
[INFO] [stdout]     |             ---------
[INFO] [stdout]     |             |
[INFO] [stdout]     |             `parent_cx` calls a custom destructor
[INFO] [stdout]     |             `parent_cx` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout]  87 |         .await
[INFO] [stdout]     |          ^^^^^
[INFO] [stdout]     |          |
[INFO] [stdout]     |          this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |          up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]  88 |     }
[INFO] [stdout]     |     - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#1` may invoke a custom destructor because it contains a trait object
[INFO] [stdout] note: `headers` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.7.2/src/bytes.rs:571:1
[INFO] [stdout]     |
[INFO] [stdout] 571 | impl Drop for Bytes {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `parent_cx` may invoke a custom destructor because it contains a trait object
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating examples/calculate.rs from 2021 edition to 2024
[INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block
[INFO] [stdout]  --> examples/calculate.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     env::set_var(ENV_MODI_DEBUG, "1");
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/newly-unsafe-functions.html>
[INFO] [stdout]   = note: `--force-warn deprecated-safe-2024` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code
[INFO] [stdout]   |
[INFO] [stdout] 8 +     // FIXME: Audit that the environment access only happens in single-threaded code.
[INFO] [stdout] 9 ~     unsafe { env::set_var(ENV_MODI_DEBUG, "1") };
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: errors present after applying fixes to crate `calculate`
[INFO] [stderr]  --> examples/calculate.rs
[INFO] [stderr]   = cause: error: expected item after attributes
[INFO] [stderr]              --> examples/calculate.rs:51:1
[INFO] [stderr]               |
[INFO] [stderr]            51 | #[craft] + use<>
[INFO] [stderr]               | ^^^^^^^^
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: aborting due to 1 previous error
[INFO] [stderr] help: to report this as a bug, open an issue at https://github.com/rust-lang/rust/issues, quoting the full output of this command
[INFO] [stderr] help: to possibly apply more fixes, pass in the `--broken-code` flag
[INFO] [stderr] note: original diagnostics will follow:
[INFO] [stdout] warning: `impl modi::dyn_mod::Handler` will capture more lifetimes than possibly intended in edition 2024
[INFO] [stdout]   --> examples/calculate.rs:50:1
[INFO] [stdout]    |
[INFO] [stdout] 50 | #[craft]
[INFO] [stdout]    | ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds
[INFO] [stdout]   --> examples/calculate.rs:50:1
[INFO] [stdout]    |
[INFO] [stdout] 50 | #[craft]
[INFO] [stdout]    | ^
[INFO] [stdout]    = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/rpit-lifetime-capture.html>
[INFO] [stdout]    = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout]    = note: this warning originates in the attribute macro `craft` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]    |
[INFO] [stdout] 50 | #[craft] + use<>
[INFO] [stdout]    |          +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `impl modi::dyn_mod::Handler` will capture more lifetimes than possibly intended in edition 2024
[INFO] [stdout]   --> examples/calculate.rs:50:1
[INFO] [stdout]    |
[INFO] [stdout] 50 | #[craft]
[INFO] [stdout]    | ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds
[INFO] [stdout]   --> examples/calculate.rs:50:1
[INFO] [stdout]    |
[INFO] [stdout] 50 | #[craft]
[INFO] [stdout]    | ^
[INFO] [stdout]    = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/rpit-lifetime-capture.html>
[INFO] [stdout]    = note: this warning originates in the attribute macro `craft` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]    |
[INFO] [stdout] 50 | #[craft] + use<>
[INFO] [stdout]    |          +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 04s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: proc-macro-error2 v2.0.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] [stderr] crater-edition-check: modi v0.1.1 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking modi v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block
[INFO] [stdout]  --> examples/calculate.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     env::set_var(ENV_MODI_DEBUG, "1");
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]   |
[INFO] [stdout]   = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `modi` (example "calculate") due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "97c56a448dc6c74802f219f9efb553a29f525e3422be9d00ae80eddf4969bb28", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "97c56a448dc6c74802f219f9efb553a29f525e3422be9d00ae80eddf4969bb28", kill_on_drop: false }`
[INFO] [stdout] 97c56a448dc6c74802f219f9efb553a29f525e3422be9d00ae80eddf4969bb28
